<%--
  Created by IntelliJ IDEA.
  User: Liston
  Date: 2018/12/8
  Time: 16:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<body style = "background:#f7fafd">

<div class="container">
    <div class="row">
        <div class="col-md-12"  style="font-size:22px">
            <ul class="nav nav-tabs nav-justified">
                <li><a onclick="switchPage(1)">审核论文</a></li>
                <li><a onclick="switchPage(2)">审核项目</a></li>
                <li><a onclick="switchPage(3)">审核专利</a></li>
                <li role="presentation" class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
                        个人信息<span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a onclick="switchPage(4)">修改密码</a></li>
                        <%--<li><a href="#">修改密码</a></li>--%>
                        <%--<li><a href="#">其他修改</a></li>--%>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</div>

<script>
    function switchPage(pageNum) {
        if(pageNum == 1){
            window.location.replace("./checker_paper.jsp");
        }else if(pageNum == 2){
            window.location.replace("./checker_project.jsp");
        }else if(pageNum == 3){
            window.location.replace("./checker_patent.jsp");
        }else if(pageNum == 4){
            window.location.replace("./change_pas.jsp");
        }else{
            alert("错误的跳转哦。");
        }
    }
</script>
